package cn.theten52.demo.patterns.design.structure.bridge.branch;

import java.util.Collection;

/**
 * TODO
 *
 * @author wangjin
 * @date 2021/1/3
 */
public interface DbCommand {
    DBConnection getConnection();

    void setConnection(DBConnection connection);

    SqlBuilder getSqlBuilder();

    void setSqlBuilder(SqlBuilder sqlBuilder);

    Collection<Object> execute(String dbName, String tableName, Object data);
}
